/*
** Script to detect if the browser is IE
**
** Copyright MONKeLABS 2011
**
** File History
**
** Version		Date Modified		Author		Description of changes
** -------------------------------------------------------------------
** 1.00			10/04/2011			Rob Davis	File Creation
*/


function isIE()
{
  return /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent);
}

function checkBrowser()
{
	if(isIE())
	{
		var x = document.getElementById("ieerror");	
		x.innerHTML = "Internet Explorer is not supported by this site. Please change your browser. Chrome or Fire Fox are recomended.";
		x.className = "ie";
		return;
	}
	
}
